package chap7;

import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;

public class ListIteratorTest {
	public static void main(String args[]){
		List objList=new ArrayList();

		objList.add(new Integer(100));
		objList.add(new Double(123.5));
		objList.add("Java");

		ListIterator it=objList.listIterator(objList.size());
		while(it.hasPrevious()){
		    Object obj=it.previous();
		    System.out.println(obj);
		}

	}
}
